package com.ambow.restaurant.app.po;

import java.util.Date;

public class Comment {
	private Integer id;
	private Integer User_id;
	private Integer Food_id;
	private Date Comment_time; 
	private String Content;
	private Integer Disabled;
	
	private String username;
	public Comment() {
		super();
	}
	public Comment(Integer user_id, Integer food_id, Date comment_time, String content, Integer disabled) {
		super();
		this.User_id = user_id;
		this.Food_id = food_id;
		this.Comment_time = comment_time;
		this.Content = content;
		this.Disabled = disabled;
	}
	public Comment(Integer id, Integer user_id, Integer food_id, Date comment_time, String content, Integer disabled) {
		super();
		this.id = id;
		this.User_id = user_id;
		this.Food_id = food_id;
		this.Comment_time = comment_time;
		this.Content = content;
		this.Disabled = disabled;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUser_id() {
		return User_id;
	}
	public void setUser_id(Integer user_id) {
		this.User_id = user_id;
	}
	public Integer getFood_id() {
		return Food_id;
	}
	public void setFood_id(Integer food_id) {
		this.Food_id = food_id;
	}
	public Date getComment_time() {
		return Comment_time;
	}
	public void setComment_time(Date comment_time) {
		this.Comment_time = comment_time;
	}
	public String getContent() {
		return Content;
	}
	public void setContent(String content) {
		this.Content = content;
	}
	public Integer getDisabled() {
		return Disabled;
	}
	public void setDisabled(Integer disabled) {
		this.Disabled = disabled;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	@Override
	public String toString() {
		return "Comment [id=" + id + ", User_id=" + User_id + ", Food_id=" + Food_id + ", Comment_time=" + Comment_time
				+ ", Content=" + Content + ", Disabled=" + Disabled + "]";
	}
	
}
